package com.gitee.wsl.markdown.model.block

import com.gitee.wsl.markdown.model.Block
import org.intellij.markdown.MarkdownElementType
import org.intellij.markdown.MarkdownElementTypes
import org.intellij.markdown.ast.ASTNode

class Heading(val level:Int,
              startOffset: Int,
              endOffset: Int,
              children: List<ASTNode>
    ):Block(MarkdownElementTypes.ATX_1,children) {

}

val MarkdownElementTypes.Heading get() =  MarkdownElementType("Heading")